﻿<%@ Page Title="" Language="C#" MasterPageFile="~/masterpage/Site.Master" AutoEventWireup="true" CodeBehind="profileinfomation.aspx.cs" Inherits="Web.pages.profileinfomation" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:UpdatePanel ID="upl" UpdateMode="Conditional"  runat="server">
            <Triggers>
                <asp:AsyncPostBackTrigger  ControlID="btnSubmit"/>
            </Triggers>
            <ContentTemplate>
        <div style="width: 100%;height: 100%">
            <div style="width: 100%;height: 100%;margin-left: 400px;">
                <asp:Label ID="Label12" CssClass="label" Font-Size="14pt" runat="server" Text=": แก้ไขข้อมูล :"></asp:Label>
            </div>
            <table style="width: 100%;height: 100%">
                <tr>
                    <td style="width: 80%;">
                        <fieldset>
                            <legend><asp:Label ID="Label1" CssClass="label" Font-Size="12pt" runat="server" Text=": ระบบงาน :"></asp:Label></legend>
                            <table style="padding: 2px;">
                                <tr>
                                    <td style="text-align: right;vertical-align: middle;width:50%;">
                                        <span class="field-validation-error">*</span><asp:Label ID="Label14" CssClass="label"  runat="server" Text="รหัสผ่านเดิม"></asp:Label> :</td>
                                    <td style="text-align: left;vertical-align: middle;">
                                        <asp:TextBox ID="txPasswordOld" MaxLength="20" TextMode="Password" CssClass="textbox" runat="server"></asp:TextBox></td>
                                </tr>
                                <tr>
                                    <td style="text-align: right;vertical-align: middle;">
                                        <span class="field-validation-error">*</span><asp:Label ID="Label9" CssClass="label" runat="server" Text="รหัสผ่านใหม่"></asp:Label> :</td>
                                    <td style="text-align: left;vertical-align: middle;">
                                        <asp:TextBox ID="txPasswordNew" MaxLength="20" TextMode="Password" CssClass="textbox" runat="server"></asp:TextBox></td>
                                </tr>
                                <tr>
                                    <td style="text-align: right;vertical-align: middle;">
                                        <span class="field-validation-error">*</span><asp:Label ID="Label10" CssClass="label" runat="server" Text="ยืนยันรหัสผ่าน"></asp:Label> :</td>
                                    <td style="text-align: left;vertical-align: middle;">
                                        <asp:TextBox ID="txConfirm" MaxLength="20" TextMode="Password" CssClass="textbox" runat="server"></asp:TextBox></td>
                                </tr>
                            </table>
                        </fieldset>
                        <fieldset>
                            <legend> <asp:Label ID="Label2"  CssClass="label" Font-Size="12pt" runat="server" Text=": ข้อมูลส่วนตัว :"></asp:Label></legend>
                        <table style="padding: 2px;">
                            
                            <tr>
                                <td style="text-align: right;vertical-align: middle; width: 50%;">
                                    <span class="field-validation-error">*</span><asp:Label ID="Label3" CssClass="label" runat="server" Text="ชื่อ"></asp:Label> :</td>
                                <td style="text-align: left;vertical-align: middle;">
                                    <asp:TextBox ID="txFName" MaxLength="50" CssClass="textbox" runat="server"></asp:TextBox></td>
                            </tr>
                
                            <tr>
                                <td style="text-align: right;vertical-align: middle;">
                                    <span class="field-validation-error">*</span><asp:Label ID="Label4" CssClass="label" runat="server" Text="นามสกุล"></asp:Label> :</td>
                                <td style="text-align: left;vertical-align: middle;">
                                    <asp:TextBox ID="txLNAME" MaxLength="50" CssClass="textbox" runat="server"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td style="text-align: right;vertical-align: middle;">
                                    <span class="field-validation-error">*</span><asp:Label ID="Label5" CssClass="label" runat="server" Text="Email"></asp:Label> :</td>
                                <td style="text-align: left;vertical-align: middle;">
                                    <asp:TextBox ID="txEmail" MaxLength="50" TextMode="Email" CssClass="textbox" runat="server"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td style="text-align: right;vertical-align: middle;">
                                    <span class="field-validation-error">*</span><asp:Label ID="Label6" CssClass="label" runat="server" Text="เบอร์"></asp:Label> :</td>
                                <td style="text-align: left;vertical-align: middle;">
                                    <asp:TextBox ID="txTel" MaxLength="20" TextMode="Phone" CssClass="textbox" runat="server"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td style="text-align: right;vertical-align: middle;">
                                    <span class="field-validation-error">*</span><asp:Label ID="Label11" CssClass="label" runat="server" Text="บริษัท"></asp:Label> :</td>
                                <td style="text-align: left;vertical-align: middle;">
                                    <asp:TextBox ID="txCompany" MaxLength="100" CssClass="textbox" runat="server"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td style="text-align: right;vertical-align: middle;">
                                    <span class="field-validation-error">*</span><asp:Label ID="Label7" CssClass="label" runat="server" Text="แผนกงาน"></asp:Label> :</td>
                                <td style="text-align: left;vertical-align: middle;">
                                    <asp:TextBox ID="txDeparment" MaxLength="50" CssClass="textbox" runat="server"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td style="text-align: right;vertical-align: middle;">
                                    <span class="field-validation-error">*</span><asp:Label ID="Label13" CssClass="label" runat="server" Text="ตำแหน่งงาน"></asp:Label> :</td>
                                <td style="text-align: left;vertical-align: middle;">
                                    <asp:TextBox ID="txPosition" MaxLength="50" CssClass="textbox" runat="server"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td></td>
                                <td>
                                    <asp:Button ID="btnSubmit" runat="server" Text="ยืนยัน" OnClick="btnSubmit_Click"  /></td>
                            </tr>
                        </table>
                        </fieldset>
                    </td>
                </tr>
            </table>
        </div>
                
            </ContentTemplate>
        </asp:UpdatePanel>
</asp:Content>
